﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using XHouse.ServiceRunner;

namespace ConsoleTestWS
{
    class Program
    {
        static void Main(string[] args)
        {
            var serviceRunner = new ServiceRunner();

            serviceRunner.Start();

            string str;
            while (true)
            {
                str = Console.ReadLine();

                if (str != null && str.ToUpperInvariant().Equals("EXIT"))
                {
                    serviceRunner.Stop();
                    return;
                }

                if (str != null && str.ToUpperInvariant().Equals("START18"))
                {
                    
                    return;
                }
            }
             
        }
    }
}
